import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/gift_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/gift_entity.g.dart';

@JsonSerializable()
class GiftEntity {
	String? name;
	@JSONField(name: "award-num")
	String? awardNum;
	String? icon;
	int? startdate;
	int? hiddendate;

	GiftEntity();

	factory GiftEntity.fromJson(Map<String, dynamic> json) => $GiftEntityFromJson(json);

	Map<String, dynamic> toJson() => $GiftEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}